package com.party.business.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.party.common.annotation.Excel;
import com.party.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Size;

/**
 * 经费申请对象 t_project_fee
 *
 * @author ruoyi
 * @date 2024-10-13
 */
@Data
@TableName(value = "t_project_fee")
@EqualsAndHashCode(callSuper = true)
public class TProjectFee extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * "项目名称"
     */
    @Excel(name = "项目名称")
    @Size(min = 0, max = 50, message = "项目名称不能超过50个字符")
    private String projectName;

    /**
     * "申请单位"
     */
    @Excel(name = "申请单位")
    @Size(min = 0, max = 50, message = "申请单位不能超过50个字符")
    private String sqDw;

    /**
     * "负责人及联系方式"
     */
    @Excel(name = "负责人及联系方式")
    @Size(min = 0, max = 100, message = "负责人及联系方式不能超过100个字符")
    private String contactFs;

    /**
     * "项目介绍"
     */
    @Excel(name = "项目介绍")
    @Size(min = 0, max = 2000, message = "项目介绍不能超过2000个字符")
    private String projectInfo;

    /**
     * "申请经费总额"
     */
    @Excel(name = "申请经费总额")
    private BigDecimal feeMoney;

    /**
     * "预算说明"
     */
    @Excel(name = "预算说明")
    @Size(min = 0, max = 2000, message = "预算说明不能超过2000个字符")
    private String ysSm;

    /**
     * "审核状态"
     */
    @Excel(name = "审核状态")
    private String checkStatus;

    /**
     * "审核时间"
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date checkDate;

    /**
     * "审核备注"
     */
    @Excel(name = "审核备注")
    private String checkRemark;

    private String delFlag;

}
